package com.renwei.yunlong.bean;

import java.util.Map;

import io.rong.imlib.model.Conversation;

/**
 * Created by wangqi on 2017/10/11.
 */

public class MsgBean {

    /**
     * message : {"code":200,"message":"操作成功！","stack":null}
     * rows : {"3":{"avatar":null,"beginNo":0,"content":"\u201c20170915对象-5\u201d将于今天过保，请及时续保。","createDate":"2017-10-02T03:00:00","endNo":0,"messageId":null,"mobilePhone":null,"page":0,"quantity":9,"receiverCompanyCode":null,"receiverId":null,"relationId":null,"rowNo":0,"rows":0,"senUserName":null,"sendCompanyCode":null,"sendCompanyName":null,"sendUserId":null,"serviceProviderCode":null,"status":null,"type":"3","userId":null},"2":{"avatar":null,"beginNo":0,"content":"有一件\u201c朱聪聪聪，15858194591\u201d提交的基于工单\u201cG170817347\u201d的投诉指派给您处理。","createDate":"2017-09-29T13:56:20","endNo":0,"messageId":null,"mobilePhone":null,"page":0,"quantity":124,"receiverCompanyCode":null,"receiverId":null,"relationId":null,"rowNo":0,"rows":0,"senUserName":null,"sendCompanyCode":null,"sendCompanyName":null,"sendUserId":null,"serviceProviderCode":null,"status":null,"type":"2","userId":null},"1":{"avatar":null,"beginNo":0,"content":"问题\u201cQY170823535\u201d经确认，判定已解决，干的漂亮。","createDate":"2017-09-21T16:33:43","endNo":0,"messageId":null,"mobilePhone":null,"page":0,"quantity":20,"receiverCompanyCode":null,"receiverId":null,"relationId":null,"rowNo":0,"rows":0,"senUserName":null,"sendCompanyCode":null,"sendCompanyName":null,"sendUserId":null,"serviceProviderCode":null,"status":null,"type":"1","userId":null},"0":{"avatar":null,"beginNo":0,"content":"您负责处理由\u201c朱聪聪聪\u201d提交的工单\u201cG170825529\u201d已逾期，请尽快处理。","createDate":"2017-10-11T02:00:05","endNo":0,"messageId":null,"mobilePhone":null,"page":0,"quantity":5314,"receiverCompanyCode":null,"receiverId":null,"relationId":null,"rowNo":0,"rows":0,"senUserName":null,"sendCompanyCode":null,"sendCompanyName":null,"sendUserId":null,"serviceProviderCode":null,"status":null,"type":"0","userId":null},"6":{"avatar":null,"beginNo":0,"content":"您提交的企业认证因\u201crenzhengbutongguo\u201d未获通过，请核对后重新认证。","createDate":"2017-08-14T09:12:43","endNo":0,"messageId":null,"mobilePhone":null,"page":0,"quantity":1,"receiverCompanyCode":null,"receiverId":null,"relationId":null,"rowNo":0,"rows":0,"senUserName":null,"sendCompanyCode":null,"sendCompanyName":null,"sendUserId":null,"serviceProviderCode":null,"status":null,"type":"62","userId":null},"5":{"avatar":null,"beginNo":0,"content":"建立了与\u201czhucc浙江科技股份有限公司\u201d的新项目\u201c0929项目\u201d，从\u201c2017-09-01\u201d开始到\u201c2017-11-04\u201d结束，缓冲\u201c5\u201d天，请查看详情。","createDate":"2017-09-29T15:25:55","endNo":0,"messageId":null,"mobilePhone":null,"page":0,"quantity":21,"receiverCompanyCode":null,"receiverId":null,"relationId":null,"rowNo":0,"rows":0,"senUserName":null,"sendCompanyCode":null,"sendCompanyName":null,"sendUserId":null,"serviceProviderCode":null,"status":null,"type":"51","userId":null},"4":{"avatar":null,"beginNo":0,"content":"您因\u201c巴巴爸爸\u201d提交的备件\u201c替换\u201d申请已审核通过。","createDate":"2017-08-08T14:17:30","endNo":0,"messageId":null,"mobilePhone":null,"page":0,"quantity":3,"receiverCompanyCode":null,"receiverId":null,"relationId":null,"rowNo":0,"rows":0,"senUserName":null,"sendCompanyCode":null,"sendCompanyName":null,"sendUserId":null,"serviceProviderCode":null,"status":null,"type":"42","userId":null}}
     * total : 0
     */

    private MessageBean message;
    private Map<String, RowsBean> rows;
    private int total;

    public static class RowsBean {

        /**
         * avatar : null
         * beginNo : 0
         * content : “20170915对象-5”将于今天过保，请及时续保。
         * createDate : 2017-10-02T03:00:00
         * endNo : 0
         * messageId : null
         * mobilePhone : null
         * page : 0
         * quantity : 9
         * receiverCompanyCode : null
         * receiverId : null
         * relationId : null
         * rowNo : 0
         * rows : 0
         * senUserName : null
         * sendCompanyCode : null
         * sendCompanyName : null
         * sendUserId : null
         * serviceProviderCode : null
         * status : null
         * type : 3
         * userId : null
         */

        private transient Conversation conversation;

        public Conversation getConversation() {
            return conversation;
        }

        public void setConversation(Conversation conversation) {
            this.conversation = conversation;
        }

        private String avatar;
        private int beginNo;
        private String content;
        private String createDate;
        private int endNo;
        private String messageId;
        private String mobilePhone;
        private int page;
        private int quantity;
        private String receiverCompanyCode;
        private String receiverId;
        private String relationId;
        private int rowNo;
        private int rows;
        private String senUserName;
        private String sendCompanyCode;
        private String sendCompanyName;
        private String sendUserId;
        private String serviceProviderCode;
        private String status;
        private String type;
        private String userId;

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public int getBeginNo() {
            return beginNo;
        }

        public void setBeginNo(int beginNo) {
            this.beginNo = beginNo;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public int getEndNo() {
            return endNo;
        }

        public void setEndNo(int endNo) {
            this.endNo = endNo;
        }

        public String getMessageId() {
            return messageId;
        }

        public void setMessageId(String messageId) {
            this.messageId = messageId;
        }

        public String getMobilePhone() {
            return mobilePhone;
        }

        public void setMobilePhone(String mobilePhone) {
            this.mobilePhone = mobilePhone;
        }

        public int getPage() {
            return page;
        }

        public void setPage(int page) {
            this.page = page;
        }

        public int getQuantity() {
            return quantity;
        }

        public void setQuantity(int quantity) {
            this.quantity = quantity;
        }

        public String getReceiverCompanyCode() {
            return receiverCompanyCode;
        }

        public void setReceiverCompanyCode(String receiverCompanyCode) {
            this.receiverCompanyCode = receiverCompanyCode;
        }

        public String getReceiverId() {
            return receiverId;
        }

        public void setReceiverId(String receiverId) {
            this.receiverId = receiverId;
        }

        public String getRelationId() {
            return relationId;
        }

        public void setRelationId(String relationId) {
            this.relationId = relationId;
        }

        public int getRowNo() {
            return rowNo;
        }

        public void setRowNo(int rowNo) {
            this.rowNo = rowNo;
        }

        public int getRows() {
            return rows;
        }

        public void setRows(int rows) {
            this.rows = rows;
        }

        public String getSenUserName() {
            return senUserName;
        }

        public void setSenUserName(String senUserName) {
            this.senUserName = senUserName;
        }

        public String getSendCompanyCode() {
            return sendCompanyCode;
        }

        public void setSendCompanyCode(String sendCompanyCode) {
            this.sendCompanyCode = sendCompanyCode;
        }

        public String getSendCompanyName() {
            return sendCompanyName;
        }

        public void setSendCompanyName(String sendCompanyName) {
            this.sendCompanyName = sendCompanyName;
        }

        public String getSendUserId() {
            return sendUserId;
        }

        public void setSendUserId(String sendUserId) {
            this.sendUserId = sendUserId;
        }

        public String getServiceProviderCode() {
            return serviceProviderCode;
        }

        public void setServiceProviderCode(String serviceProviderCode) {
            this.serviceProviderCode = serviceProviderCode;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }
    }

    public Map<String, RowsBean> getRows() {
        return rows;
    }

    public void setRows(Map<String, RowsBean> rows) {
        this.rows = rows;
    }

    public MessageBean getMessage() {
        return message;
    }

    public void setMessage(MessageBean message) {
        this.message = message;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public static class MessageBean {
        /**
         * code : 200
         * message : 操作成功！
         * stack : null
         */

        private int code;
        private String message;
        private String stack;

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }

        public String getStack() {
            return stack;
        }

        public void setStack(String stack) {
            this.stack = stack;
        }
    }
}
